<!-- list -->
<ul class="nav" ng-controller="navCtrl">
    <!--ng-class="{active: $state.includes('**.{{menu.permission}}.**')}"-->
    <li ng-repeat="menu in menuList">
        <a ng-if="menu.leaf==0" href class="auto">
	      <span class="pull-right text-muted">
	        <i class="fa fa-fw fa-angle-right text"></i>
	        <i class="fa fa-fw fa-angle-down text-active"></i>
	      </span>
            <i class="{{menu.iconcls}}"></i>
            <span>{{menu.menuName}}</span>
        </a>
        <ul ng-if="menu.leaf==0" class="nav nav-sub dk">
            <li ng-repeat="rm in menu.menuBeans" ui-sref-active="active" >
                <a ui-sref="{{rm.request}}">
                    <!--<i class="{{rm.iconcls}}"></i>-->
                    <span>{{rm.menuName}}</span>
                </a>
            </li>
        </ul>
        <a ng-if="menu.leaf==1" ui-sref="{{menu.request}}">
            <i class="{{menu.iconcls}}"></i>
            <span>{{menu.menuName}}</span>
        </a>
    </li>
</ul>
